export const arrSub = (allChannels, channelList) => {
  const res = []
  allChannels.forEach(item => {
    const idx = channelList.findIndex(it => {
      // eslint-disable-next-line eqeqeq
      if (it.id == item.id) {
        return true
      }
    })
    if (idx === -1) {
      res.push(item)
    }
  })
  return res
}
